package com.xgimi.open.skill.datamanager.service.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xgimi.open.skill.datamanager.service.response.constants.DateConstant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/3/15 10:24
 */
@Data
public class WordStockRespDTO2 implements Serializable {
    /**
     * 主键id
     */
    private Long id;

    /**
     * skill_version表外键
     */
    private Long skillVid;

    /**
     * 词库名称
     */
    private String wordName;

    /**
     * 词条，归一值：同义词
     */
    private List<WordEntryDTO> entrys;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = DateConstant.PATTERN)
    @JsonFormat(pattern = DateConstant.PATTERN, timezone = "GMT+8")
    private Date createdAt;

    /**
     * 更新人
     */
    private String updatedBy;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = DateConstant.PATTERN)
    @JsonFormat(pattern = DateConstant.PATTERN, timezone = "GMT+8")
    private Date updatedAt;
    /**
     * business业务id
     */
    private String businessId;

    /**
     * 数据版本
     */
    private Integer updateVersion;
}
